package chatroomclient;

public class Friend {
    private String userId;
    private String friendId;
    private String friendName;
    private int status; // 0: pending, 1: accepted

    public Friend(String userId, String friendId, String friendName, int status) {
        this.userId = userId;
        this.friendId = friendId;
        this.friendName = friendName;
        this.status = status;
    }

    // Getters and Setters
    public String getUserId() { return userId; }
    public void setUserId(String userId) { this.userId = userId; }

    public String getFriendId() { return friendId; }
    public void setFriendId(String friendId) { this.friendId = friendId; }

    public String getFriendName() { return friendName; }
    public void setFriendName(String friendName) { this.friendName = friendName; }

    public int getStatus() { return status; }
    public void setStatus(int status) { this.status = status; }
}
